| Mustafa Usmani
Before when creating a custom connector, you’d have to change the Base URL configurations for Sandbox or Production
API access. Now we have the ability to provide environment variables as a reference in our custom connectors.
Not only just that we can also update other key properties of the custom connector such as Host, Client ID,
Secret, etc.
In this blog we’ll see how you can use environment variable for your Host URL:
- Create an environment variable and store the API base URL in it.
- Now copy the Name (schema name) of the environment variable and use it in this syntax:
- @environmentVariables("{{environmentVariableName}}")
- Now all you have to do is use in your Host URL like this:
Join us next time, as we continue our journey of learning canvas apps.Click here to learn more about Imperium's Power Apps Services. We hope this information was useful, and we look forward to sharing more insights into the Power Platform world.